﻿using System;

namespace WDA.Core
{
	/// <summary>
	/// Attribute desribing CLR type of service monitor's WCF contract. 	
	/// </summary>
   [AttributeUsage(AttributeTargets.Interface, AllowMultiple=false)]
   public sealed class MonitorFacadeAttribute : Attribute
   {
		/// <summary>
		/// Gets CLR type of monitor's WCF contract.
		/// </summary>
      public Type Type { get; private set; }
		/// <summary>
		/// Creates new instance of <see cref="MonitorFacadeAttribute"/>.
		/// </summary>
      /// <param name="type">CLR type of monitor's WCF contract.</param>
      public MonitorFacadeAttribute(Type type)
      {
         Type = type;
      }
   }
}
